.class public Les/qm;
.super Les/pm;
.source "BookmarkChild.java"


# instance fields
.field e:Ljava/lang/String;

.field f:Ljava/lang/String;

.field g:Z


# direct methods
.method public constructor <init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .param p1    # Landroid/graphics/drawable/Drawable;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 1
    invoke-direct {p0, p1, p2, p3}, Les/pm;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    sget-object p1, Lcom/estrongs/android/pop/b;->d:Ljava/lang/String;

    iput-object p1, p0, Les/qm;->e:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Landroid/os/Handler;II)V
    .locals 11

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v6

    .line 3
    invoke-virtual {v6}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object v1

    .line 4
    invoke-static {v0, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)Z

    move-result v0

    .line 5
    iget-boolean v1, p0, Les/qm;->g:Z

    const/4 v7, 0x0

    const/4 v2, 0x1

    if-nez v1, :cond_0

    const/4 v0, 0x0

    const/4 v1, 0x0

    goto :goto_0

    :cond_0
    const/4 v1, 0x1

    .line 6
    :goto_0
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-virtual {v6}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    const/4 v1, 0x0

    .line 7
    :cond_1
    new-instance v3, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v3, v6}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    .line 8
    invoke-virtual {p0}, Les/pm;->e()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;->b(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {v3}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v8

    const/16 v3, 0xa

    new-array v4, v3, [Ljava/lang/String;

    new-array v3, v3, [I

    if-eqz v0, :cond_2

    const v0, 0x7f11075e

    .line 9
    invoke-virtual {v6, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    aput-object v0, v4, v7

    aput v7, v3, v7

    const/4 v0, 0x1

    goto :goto_1

    :cond_2
    const/4 v0, 0x0

    :goto_1
    if-eqz v1, :cond_3

    const v1, 0x7f11075f

    .line 10
    invoke-virtual {v6, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v4, v0

    .line 11
    aput v2, v3, v0

    add-int/lit8 v0, v0, 0x1

    .line 12
    :cond_3
    iget-object v1, p0, Les/qm;->f:Ljava/lang/String;

    if-nez v1, :cond_4

    const v1, 0x7f110064

    .line 13
    invoke-virtual {v6, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v4, v0

    const/4 v1, 0x2

    .line 14
    aput v1, v3, v0

    add-int/lit8 v0, v0, 0x1

    :cond_4
    const v1, 0x7f110911

    .line 15
    invoke-virtual {v6, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v4, v0

    const/4 v1, 0x3

    .line 16
    aput v1, v3, v0

    add-int/2addr v0, v2

    const v1, 0x7f110650

    .line 17
    invoke-virtual {v6, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v4, v0

    const/4 v1, 0x4

    .line 18
    aput v1, v3, v0

    add-int/2addr v0, v2

    .line 19
    invoke-static {v4, v0}, Lcom/estrongs/android/util/o0;->a([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v0

    move-object v9, v0

    check-cast v9, [Ljava/lang/String;

    .line 20
    new-instance v10, Les/qm$b;

    move-object v0, v10

    move-object v1, p0

    move-object v2, v3

    move v3, p2

    move v4, p3

    move-object v5, p1

    invoke-direct/range {v0 .. v6}, Les/qm$b;-><init>(Les/qm;[IIILandroid/os/Handler;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    invoke-virtual {v8, v9, v7, v10}, Lcom/estrongs/android/ui/dialog/q;->setItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)V

    .line 21
    invoke-virtual {v8, v7}, Lcom/estrongs/android/ui/dialog/q;->setSelectable(Z)V

    .line 22
    invoke-virtual {v8}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qm;->f:Ljava/lang/String;

    return-void
.end method

.method public b()V
    .locals 6

    .line 2
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->g0()Les/hy;

    move-result-object v1

    invoke-virtual {v1}, Les/hy;->d()I

    move-result v1

    .line 4
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object v2

    .line 5
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result v3
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const-string v4, "nav"

    const-string v5, "collect"

    if-eqz v3, :cond_1

    .line 6
    :try_start_1
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->i(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 7
    instance-of v1, v0, Lcom/estrongs/android/view/WebViewWrapper;

    if-eqz v1, :cond_0

    iget-object v1, p0, Les/qm;->f:Ljava/lang/String;

    .line 8
    invoke-static {v1}, Lcom/estrongs/android/pop/utils/v;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 9
    check-cast v0, Lcom/estrongs/android/view/WebViewWrapper;

    .line 10
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->w()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Les/qm;->f:Ljava/lang/String;

    .line 11
    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/view/WebViewWrapper;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    const-string v0, "link"

    .line 12
    invoke-static {v5, v4, v0}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 13
    :cond_1
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 14
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 15
    new-instance v3, Les/qm$a;

    invoke-direct {v3, p0, v0, v2, v1}, Les/qm$a;-><init>(Les/qm;Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/lang/String;I)V

    invoke-static {v3}, Lcom/estrongs/android/util/o;->b(Ljava/lang/Runnable;)V

    const-string v0, "remote"

    .line 16
    invoke-static {v5, v4, v0}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 17
    :cond_2
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 18
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_2

    .line 19
    :cond_3
    invoke-static {v0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v3

    .line 20
    invoke-virtual {v3, v2}, Lcom/estrongs/fs/f;->c(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_7

    .line 21
    invoke-static {v0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v3

    .line 22
    invoke-virtual {v3, v2}, Lcom/estrongs/fs/f;->l(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 23
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->D1(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 24
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 25
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->z2(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 26
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->A0(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_4

    goto :goto_0

    :cond_4
    const/4 v1, 0x0

    .line 27
    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "file"

    .line 28
    invoke-static {v5, v4, v0}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    :cond_5
    :goto_0
    const/16 v3, 0xc

    if-ge v1, v3, :cond_6

    .line 29
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_1

    :cond_6
    const v1, 0x7f110aab

    .line 30
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(I)V

    :goto_1
    const-string v0, "directory"

    .line 31
    invoke-static {v5, v4, v0}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    :cond_7
    const v1, 0x7f110660

    .line 32
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    .line 33
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_2
    return-void
.end method

.method public b(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Les/qm;->g:Z

    return-void
.end method
